﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
//using System.Linq;
using System.Text;
using System.Windows.Forms;
using WeifenLuo.WinFormsUI.Docking;
using DBSourceToolsLib;
using DBConnectionLib;
using DBSourceToolsLib.SysObjects;


namespace DBSourceTools
{
    public partial class DependencyTreeForm : MainPanelForm
    {

        public DependencyTreeForm(string strDatabase, string strType, string strObject)
            : base(strDatabase, strType, strObject)
        {
            InitializeComponent();
        }

        private void DependencyTreeForm_Load(object sender, EventArgs e)
        {
            SourceDatabase oDatabase = UserSettings.Instance().getSourceDatabase(this.m_DatabaseName);
            this.m_panel1.Controls.Add(oDatabase.SysObjects.SODependencyTree.GetPanel());
        }
    }
}
